using System;
using System.Collections.Generic;
using System.Text;

namespace AAM.BIZ
{
    public class IdentityMap : Dictionary<ObjectID, IBizObject>
    {

        public static IdentityMap Instance = new IdentityMap();

        public void Register(IBizObject obj)
        {
            base.Add(obj.ID, obj);
        }

        public bool Unregister(ObjectID id)
        {
            return base.Remove(id);
        }

    }
}
